import React from 'react'
import { createRoot } from 'react-dom/client'

import App from './App'
import { Provider } from 'react-redux'
import store from './store'

import router from './router'
import { RouterProvider } from 'react-router-dom'

const root = createRoot(document.getElementById('root'))
root.render(
  <Provider store={store}>
    <RouterProvider router={router} />
  </Provider>
)
